package com.test;

public class OutClass {
	private int varInOuterClass = 0;	
	public OutClass(){
		
	}
	public void callOutter(){
		final int varInOuterMethod = 0;
		class InnerClass{
			private int varInInnerClass = 0;			
			public InnerClass(){
			}
			public void print(){
				System.out.println("varInOuterClass" + varInOuterClass);
				System.out.println("varInInnerClass" + varInInnerClass);
				System.out.println("varInInnerClass" + varInOuterMethod);
			}
		}
		InnerClass inner = new InnerClass();
		inner.print();
	}
	
	public static void main(String[] args) {
		OutClass out = new OutClass();
		out.callOutter();
	}
}
